package com.teaut.dota.hider.entity.common;

import com.teaut.dota.hider.entity.TenantEntity;
import jakarta.persistence.*;
import lombok.Getter;
import lombok.Setter;
//import org.hibernate.annotations.ForeignKey;

@Setter
@Getter
@MappedSuperclass
public class Tenant extends UpdaterInfo {

    @JoinColumn(foreignKey = @ForeignKey(name = "none", value = ConstraintMode.NO_CONSTRAINT))
    @ManyToOne(fetch = FetchType.LAZY)
    TenantEntity tenant;

}
